﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApplication1
{
    public class MeituanHotelInfoEntity : EntityBase
    {
        /// <summary>
        /// 酒店ID,确定酒店的唯一代码
        /// </summary>
        public long HotelId { get; set; }

        /// <summary>
        /// 酒店名称
        /// </summary>
        public string HotelName { get; set; }

        /// <summary>
        /// 酒店描述
        /// </summary>
        public string HotelDescript { get; set; }

        /// <summary>
        /// 高德纬度
        /// </summary>
        public decimal AmapLatitude { get; set; }

        /// <summary>
        /// 高德经度
        /// </summary>
        public decimal AmapLongitude { get; set; }

        /// <summary>
        /// 酒店详细地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 酒店所在的城市代码
        /// </summary>
        public int CityId { get; set; }

        /// <summary>
        /// 酒店所在的城市代码
        /// </summary>
        public string CityName { get; set; }

        /// <summary>
        /// 酒店所在的城市区域代码
        /// </summary>
        public int LocationId { get; set; }

        /// <summary>
        /// 酒店所在的城市区域名称
        /// </summary>
        public string LocationName { get; set; }

        /// <summary>
        /// 商圈
        /// </summary>
        public string BusinessDistrict { get; set; }

        /// <summary>
        /// 酒店评分(将美团评分除以10)
        /// </summary>
        public decimal AvgScore { get; set; }

        /// <summary>
        /// 酒店电话号码
        /// </summary>
        public string Telephone { get; set; }

        /// <summary>
        /// 酒店营业状态
        /// </summary>
        public int CloseStatus { get; set; }

        /// <summary>
        /// 酒店头图
        /// </summary>
        public string FrontImage { get; set; }

        /// <summary>
        /// 酒店开始运营的日期
        /// </summary>
        public string OpenYear { get; set; }

        /// <summary>
        /// 酒店最近装修的日期
        /// </summary>
        public string RenovationYear { get; set; }

        /// <summary>
        /// 酒店的客房数量
        /// </summary>
        public int RoomQuantity { get; set; }

        /// <summary>
        /// 酒店楼层高度
        /// </summary>
        public int FloorNum { get; set; }

        /// <summary>
        /// 酒店星级
        /// </summary>
        public int StarRating { get; set; }

        /// <summary>
        /// 品牌Id
        /// </summary>
        public int BrandCode { get; set; }

        /// <summary>
        /// 品牌名称
        /// </summary>
        public string BrandName { get; set; }

        /// <summary>
        /// 酒店类型
        /// </summary>
        public string PoiType { get; set; }

        /// <summary>
        /// 酒店主题标签
        /// </summary>
        public string ThemeTag { get; set; }

        /// <summary>
        /// 入住时间
        /// </summary>
        public string CheckInFrom { get; set; }

        /// <summary>
        /// 离店时间
        /// </summary>
        public string CheckOutTo { get; set; }

        /// <summary>
        /// 当checkoutTime="0"时必填，精度为一位小数，如checkoutTimeHours=6.5表示入住6个半小时后离店
        /// </summary>
        public decimal CheckoutTimeHours { get; set; }

        public Guid? FanjiaCityId { get; set; }
        public string FanjiaCityCode { get; set; }
        public string FanjiaCityName { get; set; }
        public Guid? FanjiaProvinceId { get; set; }
        public string FanjiaProvinceCode { get; set; }
        public string FanjiaProvinceName { get; set; }
        public string FanjiaKeywords { get; set; }

        public string Facilities { get; set; }

        public string FanjiaFacilities { get; set; }
    }

    public class EntityBase
    {
        public virtual byte Status { get; set; }

        public virtual bool IsDeleted { get; set; }

        //
        // 摘要:
        //     Which user deleted this entity?
        public virtual long? DeleterUserId { get; set; }

        //
        // 摘要:
        //     Deletion time of this entity.
        public virtual DateTime? DeletionTime { get; set; }

        public virtual DateTime? LastModificationTime { get; set; }

        //
        // 摘要:
        //     Last modifier user of this entity.
        public virtual long? LastModifierUserId { get; set; }

        //
        // 摘要:
        //     Creation time of this entity.
        public virtual DateTime CreationTime { get; set; }

        //
        // 摘要:
        //     Creator of this entity.
        public virtual long? CreatorUserId { get; set; }

        public virtual long Id { get; set; }

    }
}
